Skip to content

Conversation

@opieter-aws
Copy link
Contributor

Duplicate PR of #7357 into Flare branch

Problem

When ListRegionProfile call throttles for a subset of regions, we currently do not throw, but instead return the available profiles in the regions where the call succeeded. However, if that list is empty (no profiles in that region), we return an empty list. This breaks the UI, and causes a state that is not recoverable

Solution

Throw an error in the scenario where availableProfiles is empty. This triggers a retry state in the UI, making the state recoverable.


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@opieter-aws opieter-aws marked this pull request as ready for review May 22, 2025 14:12
@opieter-aws opieter-aws requested a review from a team as a code owner May 22, 2025 14:12
@github-actions
Copy link

  • This pull request modifies code in src/* but no tests were added/updated.
    • Confirm whether tests should be added or ensure the PR description explains why tests are not required.
  • This pull request implements a feat or fix, so it must include a changelog entry (unless the fix is for an unreleased feature). Review the changelog guidelines.
    • Note: beta or "experiment" features that have active users should announce fixes in the changelog.
    • If this is not a feature or fix, use an appropriate type from the title guidelines. For example, telemetry-only changes should use the telemetry type.

Copy link
Contributor

@Hweinstock Hweinstock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! LGTM once CI passes.

@opieter-aws
Copy link
Contributor Author

/retryBuilds

@opieter-aws opieter-aws merged commit 040b10b into aws:master May 22, 2025
30 of 31 checks passed
@opieter-aws opieter-aws deleted the region-profile-fix branch May 22, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants